# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

MOCHITEST_MANIFESTS += [
    'mochitest/ajax/jquery/mochitest.ini',
    'mochitest/ajax/mochikit/mochitest.ini',
    'mochitest/ajax/offline/mochitest.ini',
    'mochitest/ajax/prototype/mochitest.ini',
    'mochitest/ajax/scriptaculous/mochitest.ini',
    'mochitest/beacon/mochitest.ini',
    'mochitest/bugs/mochitest.ini',
    'mochitest/crypto/mochitest.ini',
    'mochitest/dom-level0/mochitest.ini',
    'mochitest/dom-level1-core/mochitest.ini',
    'mochitest/dom-level2-core/mochitest.ini',
    'mochitest/dom-level2-html/mochitest.ini',
    'mochitest/fetch/mochitest.ini',
    'mochitest/general/mochitest.ini',
    'mochitest/geolocation/mochitest.ini',
    'mochitest/localstorage/mochitest.ini',
    'mochitest/notification/mochitest.ini',
    'mochitest/orientation/mochitest.ini',
    'mochitest/pointerlock/mochitest.ini',
    'mochitest/sessionstorage/mochitest.ini',
    'mochitest/storageevent/mochitest.ini',
    'mochitest/webcomponents/mochitest.ini',
    'mochitest/whatwg/mochitest.ini',
]

MOCHITEST_CHROME_MANIFESTS += [
    'mochitest/beacon/chrome.ini',
    'mochitest/chrome/chrome.ini',
    'mochitest/general/chrome.ini',
    'mochitest/geolocation/chrome.ini',
    'mochitest/localstorage/chrome.ini',
    'mochitest/sessionstorage/chrome.ini',
    'mochitest/webcomponents/chrome.ini',
    'mochitest/whatwg/chrome.ini',
]

if CONFIG['MOZ_GAMEPAD']:
    MOCHITEST_MANIFESTS += [
        'mochitest/gamepad/mochitest.ini',
    ]

XPCSHELL_TESTS_MANIFESTS += ['unit/xpcshell.ini']
BROWSER_CHROME_MANIFESTS += ['browser/browser.ini']

TEST_HARNESS_FILES.testing.mochitest.tests.dom.tests.mochitest.ajax.lib += [
    'mochitest/ajax/lib/AJAX_setup.js',
    'mochitest/ajax/lib/test.css',
]

TEST_HARNESS_FILES.testing.mochitest.tests.dom.tests.mochitest.ajax.mochikit.tests += [
    'mochitest/ajax/mochikit/tests/cli.js',
    'mochitest/ajax/mochikit/tests/FakeJSAN.js',
    'mochitest/ajax/mochikit/tests/index.html',
    'mochitest/ajax/mochikit/tests/MochiKit-Async.html',
    'mochitest/ajax/mochikit/tests/MochiKit-Base.html',
    'mochitest/ajax/mochikit/tests/MochiKit-Color.html',
    'mochitest/ajax/mochikit/tests/MochiKit-DateTime.html',
    'mochitest/ajax/mochikit/tests/MochiKit-DOM.html',
    'mochitest/ajax/mochikit/tests/MochiKit-DragAndDrop.html',
    'mochitest/ajax/mochikit/tests/MochiKit-Format.html',
    'mochitest/ajax/mochikit/tests/MochiKit-Iter.html',
    'mochitest/ajax/mochikit/tests/MochiKit-JSAN.html',
    'mochitest/ajax/mochikit/tests/MochiKit-Logging.html',
    'mochitest/ajax/mochikit/tests/MochiKit-MochiKit.html',
    'mochitest/ajax/mochikit/tests/MochiKit-Selector.html',
    'mochitest/ajax/mochikit/tests/MochiKit-Signal.html',
    'mochitest/ajax/mochikit/tests/MochiKit-Style.html',
    'mochitest/ajax/mochikit/tests/MochiKit-Visual.html',
    'mochitest/ajax/mochikit/tests/standalone.js',
    'mochitest/ajax/mochikit/tests/test_Base.js',
    'mochitest/ajax/mochikit/tests/test_Color.js',
    'mochitest/ajax/mochikit/tests/test_DateTime.js',
    'mochitest/ajax/mochikit/tests/test_DragAndDrop.js',
    'mochitest/ajax/mochikit/tests/test_Format.js',
    'mochitest/ajax/mochikit/tests/test_Iter.js',
    'mochitest/ajax/mochikit/tests/test_Logging.js',
    'mochitest/ajax/mochikit/tests/test_MochiKit-Async.json',
    'mochitest/ajax/mochikit/tests/test_Signal.js',
]

TEST_HARNESS_FILES.testing.mochitest.tests.dom.tests.mochitest.ajax.mochikit.tests.SimpleTest += [
    'mochitest/ajax/mochikit/tests/SimpleTest/SimpleTest.js',
    'mochitest/ajax/mochikit/tests/SimpleTest/test.css',
    'mochitest/ajax/mochikit/tests/SimpleTest/TestRunner.js',
]

